#ifndef INT_H_
#define INT_H_

#include <stdio.h>
#include <stdint.h>
#include "inttypes.h"
#include <string.h>

#define RDINT(l, pos) (uint8_t)((l & (1 << pos)) >> pos) //read
#define WOINT(l, pos) (l |= (1 << pos)) //write 1
#define WZINT(l, pos) (l &= ~(1 << pos)) //write 0

int convert_char_to_int32(char* suite, int size);
uint64_t convert_char_to_int64(char* suite, int size);

void display_bits_int32(int data, int length);
void display_bits_int64(uint64_t data, int length);


#endif
